From: Paul Mundt Date: Wed, 8 Aug 2007 07:57:05 +0000 (+0900) Subject: serial: sh-sci: Shut up compiler warning for SH-X3 SCIF. X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~34382^2~97 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi//%22https:/bugzilla.%22/%22http:/www.example.com/cgi/%22https:/bugzilla.%22?a=commitdiff_plain;h=1760b7d760b2804a87affcb8ec74edde8812a1ea;p=linux-4.9.git serial: sh-sci: Shut up compiler warning for SH-X3 SCIF. Signed-off-by: Paul Mundt --- diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index cf75466ebf57..941c504fe80d 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h @@ -653,6 +653,7 @@ static inline int sci_rxd_in(struct uart_port *port) return ctrl_inw(SCSPTR2) & 0x0001 ? 1 : 0; /* SCIF */ if (port->mapbase == 0xffc60000) return ctrl_inw(SCSPTR3) & 0x0001 ? 1 : 0; /* SCIF */ + return 1; } #endif